#ifndef BOOKMARKDIALOG_H
#define BOOKMARKDIALOG_H

#include <QDialog>
#include <qstringlistmodel.h>
class QListView;
class QPushButton;
class BookMarkDialog : public QDialog
{
    Q_OBJECT
public:
    explicit BookMarkDialog(QWidget *parent = 0);
	void setBookMarks(QStringList *s);
	void upDateBookMarks();

private:
	QListView *lvBookMark;
	QPushButton *pbdel;
	QPushButton *pbOK;
	QPushButton *pbCancel;
	QStringList *bookMarks;
	QStringListModel model;
signals:
	void open(QString s);
private slots:
	void ondel();
	void onok();
	void onchange();
	void oncancel();
};

#endif // BOOKMARKDIALOG_H
